package com.yinhe.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yinhe.common.annotation.Excel;
import com.yinhe.common.core.domain.BaseEntity;

/**
 * 内容公告发布对象 yh_content
 * 
 * @author yinhe
 * @date 2022-10-28
 */
public class YhContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 公告类别 */
    @Excel(name = "公告类别")
    private String noticeType;

    /** 公告标题 */
    @Excel(name = "公告标题")
    private String noticeTitle;

    /** 公告内容 */
    @Excel(name = "公告内容")
    private String noticeContent;

    /** 公告状态 */
    @Excel(name = "公告状态",dictType = "yh_notice_status")
    private String noticeStatus;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String pictureUrl;

    /** 材料路径 */
    @Excel(name = "材料路径")
    private String sourcesUrl;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;
    /** 创建时间 */
    /*@JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;*/
    /** 参与人员 */
    @Excel(name = "参与人员")
    private String participants;

    /** 浏览次数 */
    @Excel(name = "浏览次数")
    private String viewsTimes;

    /** 栏目 */
    @Excel(name = "栏目")
    private String contentColumn;

    /** 是否有心得体会 */
    @Excel(name = "是否有心得体会")
    private String haveExperience;

    /** 心得体会内容 */
    @Excel(name = "心得体会内容")
    private String experienceContent;

    /** 文件号 */
    @Excel(name = "文件号")
    private String fileNum;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 公告ID */
    @Excel(name = "公告ID")
    private Long noticeId;

    /** 文号 */
    @Excel(name = "文号")
    private String documentNo;

    /** 实施时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实施时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date implementationTime;

    /** M级 */
    @Excel(name = "M级")
    private String security;

    /** 年限 */
    @Excel(name = "年限")
    private String yearsLimit;

    /** 备注1 */
    @Excel(name = "备注1")
    private String note1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String note2;

    /** 备注3 */
    @Excel(name = "备注3")
    private String note3;

    /** 备注4 */
    @Excel(name = "备注4")
    private String note4;

    /** 备注5 */
    @Excel(name = "备注5")
    private String note5;

    /** 备注6 */
    @Excel(name = "备注6")
    private String note6;

    /** 备注7 */
    @Excel(name = "备注7")
    private String note7;

    /** 备注8 */
    @Excel(name = "备注8")
    private String note8;

    /** 备注9 */
    @Excel(name = "备注9")
    private String note9;

    /** 备注10 */
    @Excel(name = "备注10")
    private String note10;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNoticeType(String noticeType) 
    {
        this.noticeType = noticeType;
    }

    public String getNoticeType() 
    {
        return noticeType;
    }
    public void setNoticeTitle(String noticeTitle) 
    {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeTitle() 
    {
        return noticeTitle;
    }
    public void setNoticeContent(String noticeContent) 
    {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent() 
    {
        return noticeContent;
    }
    public void setNoticeStatus(String noticeStatus) 
    {
        this.noticeStatus = noticeStatus;
    }

    public String getNoticeStatus() 
    {
        return noticeStatus;
    }
    public void setPictureUrl(String pictureUrl) 
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl() 
    {
        return pictureUrl;
    }
    public void setSourcesUrl(String sourcesUrl) 
    {
        this.sourcesUrl = sourcesUrl;
    }

    public String getSourcesUrl() 
    {
        return sourcesUrl;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setParticipants(String participants) 
    {
        this.participants = participants;
    }
   /* public Date getCreateTime()
    {
        return createTime;
    }*/


    public String getParticipants() 
    {
        return participants;
    }
    public void setViewsTimes(String viewsTimes) 
    {
        this.viewsTimes = viewsTimes;
    }

    public String getViewsTimes() 
    {
        return viewsTimes;
    }
    public void setContentColumn(String contentColumn) 
    {
        this.contentColumn = contentColumn;
    }

    public String getContentColumn() 
    {
        return contentColumn;
    }
    public void setHaveExperience(String haveExperience) 
    {
        this.haveExperience = haveExperience;
    }

    public String getHaveExperience() 
    {
        return haveExperience;
    }
    public void setExperienceContent(String experienceContent) 
    {
        this.experienceContent = experienceContent;
    }

    public String getExperienceContent() 
    {
        return experienceContent;
    }
    public void setFileNum(String fileNum) 
    {
        this.fileNum = fileNum;
    }

    public String getFileNum() 
    {
        return fileNum;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setNoticeId(Long noticeId) 
    {
        this.noticeId = noticeId;
    }

    public Long getNoticeId() 
    {
        return noticeId;
    }
    public void setDocumentNo(String documentNo) 
    {
        this.documentNo = documentNo;
    }

    public String getDocumentNo() 
    {
        return documentNo;
    }
    public void setImplementationTime(Date implementationTime) 
    {
        this.implementationTime = implementationTime;
    }

    public Date getImplementationTime() 
    {
        return implementationTime;
    }
    public void setSecurity(String security) 
    {
        this.security = security;
    }

    public String getSecurity() 
    {
        return security;
    }
    public void setYearsLimit(String yearsLimit) 
    {
        this.yearsLimit = yearsLimit;
    }

    public String getYearsLimit() 
    {
        return yearsLimit;
    }
    public void setNote1(String note1) 
    {
        this.note1 = note1;
    }

    public String getNote1() 
    {
        return note1;
    }
    public void setNote2(String note2) 
    {
        this.note2 = note2;
    }

    public String getNote2() 
    {
        return note2;
    }
    public void setNote3(String note3) 
    {
        this.note3 = note3;
    }

    public String getNote3() 
    {
        return note3;
    }
    public void setNote4(String note4) 
    {
        this.note4 = note4;
    }

    public String getNote4() 
    {
        return note4;
    }
    public void setNote5(String note5) 
    {
        this.note5 = note5;
    }

    public String getNote5() 
    {
        return note5;
    }
    public void setNote6(String note6) 
    {
        this.note6 = note6;
    }

    public String getNote6() 
    {
        return note6;
    }
    public void setNote7(String note7) 
    {
        this.note7 = note7;
    }

    public String getNote7() 
    {
        return note7;
    }
    public void setNote8(String note8) 
    {
        this.note8 = note8;
    }

    public String getNote8() 
    {
        return note8;
    }
    public void setNote9(String note9) 
    {
        this.note9 = note9;
    }

    public String getNote9() 
    {
        return note9;
    }
    public void setNote10(String note10) 
    {
        this.note10 = note10;
    }

    public String getNote10() 
    {
        return note10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("noticeType", getNoticeType())
            .append("noticeTitle", getNoticeTitle())
            .append("noticeContent", getNoticeContent())
            .append("noticeStatus", getNoticeStatus())
            .append("pictureUrl", getPictureUrl())
            .append("sourcesUrl", getSourcesUrl())
            .append("releaseTime", getReleaseTime())
            .append("participants", getParticipants())
            .append("viewsTimes", getViewsTimes())
            .append("contentColumn", getContentColumn())
            .append("haveExperience", getHaveExperience())
            .append("experienceContent", getExperienceContent())
            .append("fileNum", getFileNum())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("noticeId", getNoticeId())
            .append("documentNo", getDocumentNo())
            .append("implementationTime", getImplementationTime())
            .append("security", getSecurity())
            .append("yearsLimit", getYearsLimit())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("note6", getNote6())
            .append("note7", getNote7())
            .append("note8", getNote8())
            .append("note9", getNote9())
            .append("note10", getNote10())
            .toString();
    }
}
